<template>
  <div class="about-container">
    <!-- 页面标题区域 -->
    <div class="page-header">
      <h1>关于我们</h1>
      <p class="subtitle">让阅读成为生活的一部分</p>
    </div>

    <!-- 公司简介部分 -->
    <section class="section company-intro">
      <div class="section-content">
        <h2>项目简介</h2>
        <div class="intro-content">
          <div class="intro-icon">
            <i
              class="el-icon-reading"
              style="font-size: 80px; color: #ff6700"
            ></i>
          </div>
          <div class="intro-text">
            <p>
              这是一个基于 Vue.js
              开发的在线书城项目，是我的毕业设计作品。项目采用前后端分离架构，前端使用
              Vue 2 + Element UI 开发，后端使用 Spring Boot 框架。
            </p>
            <p>通过这个项目，我深入学习了前端开发技术栈，包括：</p>
            <ul>
              <li>Vue.js 组件化开发</li>
              <li>Element UI 组件库应用</li>
              <li>Vuex 状态管理</li>
              <li>Vue Router 路由管理</li>
              <li>响应式布局设计</li>
            </ul>
          </div>
        </div>
      </div>
    </section>

    <!-- 使命与愿景部分 -->
    <section class="section mission-vision">
      <div class="section-content">
        <h2>项目特色</h2>
        <div class="mission-cards">
          <div class="mission-card">
            <i class="el-icon-shopping-cart-2"></i>
            <h3>便捷购物</h3>
            <p>
              提供简单直观的购物流程，支持多种支付方式，让购书变得轻松愉快。
            </p>
          </div>
          <div class="mission-card">
            <i class="el-icon-search"></i>
            <h3>智能搜索</h3>
            <p>强大的搜索功能，支持多维度筛选，帮助用户快速找到心仪的书籍。</p>
          </div>
          <div class="mission-card">
            <i class="el-icon-user"></i>
            <h3>个性化推荐</h3>
            <p>基于用户兴趣和行为，提供个性化的图书推荐服务。</p>
          </div>
        </div>
      </div>
    </section>

    <!-- 开发者介绍部分 -->
    <section class="section team">
      <div class="section-content">
        <h2>开发者介绍</h2>
        <div class="team-grid">
          <div class="team-member">
            <div class="member-avatar">
              <i
                class="el-icon-user-solid"
                style="font-size: 60px; color: #ff6700"
              ></i>
            </div>
            <h3>林创杰</h3>
            <p class="position">广东技术师范大学</p>
            <p class="description">计算机科学与技术专业</p>
            <div class="member-details">
              <p>
                热爱编程，专注于全栈开发。通过这个毕业设计项目，我不仅学习了前端开发技术，也深入理解了前后端分离架构的设计理念。
              </p>
              <p>
                项目开发过程中，我注重代码质量和用户体验，力求打造一个功能完善、界面美观的在线书城平台。
              </p>
            </div>
          </div>
        </div>
      </div>
    </section>

    <!-- 联系方式部分 -->
    <section class="section contact">
      <div class="section-content">
        <h2>联系方式</h2>
        <div class="contact-info">
          <div class="contact-item">
            <i class="el-icon-school"></i>
            <div class="info">
              <h3>学校</h3>
              <p>广东技术师范大学</p>
            </div>
          </div>
          <div class="contact-item">
            <i class="el-icon-message"></i>
            <div class="info">
              <h3>邮箱</h3>
              <p>645988759@qq.com</p>
            </div>
          </div>
          <div class="contact-item">
            <i class="el-icon-phone"></i>
            <div class="info">
              <h3>电话</h3>
              <p>（+86）18826826826</p>
            </div>
          </div>
        </div>
      </div>
    </section>
  </div>
</template>

<script>
export default {
  name: "About",
  data() {
    return {
      // 删除多余的团队成员数据
    };
  },
};
</script>

<style scoped>
.about-container {
  max-width: 1225px;
  margin: 0 auto;
  padding: 20px;
}

/* 页面标题样式 */
.page-header {
  text-align: center;
  padding: 40px 0;
  background: linear-gradient(to right, #f5f5f5, #fff);
  border-radius: 8px;
  margin-bottom: 30px;
}

.page-header h1 {
  font-size: 36px;
  color: #333;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 18px;
  color: #666;
}

/* 通用部分样式 */
.section {
  margin-bottom: 60px;
  padding: 40px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}

.section h2 {
  font-size: 28px;
  color: #333;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

.section h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: #ff6700;
  margin: 10px auto;
}

/* 公司简介样式 */
.intro-content {
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 20px;
}

.intro-icon {
  flex: 0 0 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9f9f9;
  border-radius: 50%;
  border: 3px solid #ff6700;
}

.intro-text {
  flex: 1;
}

.intro-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 15px;
}

.intro-text ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.intro-text li {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
}

.intro-text li::before {
  content: "•";
  color: #ff6700;
  position: absolute;
  left: 0;
}

/* 使命与愿景样式 */
.mission-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.mission-card {
  text-align: center;
  padding: 30px;
  background: #f9f9f9;
  border-radius: 8px;
  transition: transform 0.3s;
}

.mission-card:hover {
  transform: translateY(-5px);
}

.mission-card i {
  font-size: 40px;
  color: #ff6700;
  margin-bottom: 20px;
}

.mission-card h3 {
  font-size: 20px;
  color: #333;
  margin-bottom: 15px;
}

.mission-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

/* 团队介绍样式 */
.team-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.team-member {
  text-align: center;
  padding: 30px;
  background: #fff;
  border-radius: 8px;
  transition: transform 0.3s;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-avatar {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #ff6700;
}

.team-member h3 {
  font-size: 24px;
  color: #333;
  margin-bottom: 10px;
}

.position {
  font-size: 18px;
  color: #ff6700;
  margin-bottom: 15px;
  font-weight: 500;
}

.description {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.member-details {
  text-align: left;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
  margin-top: 20px;
}

.member-details p {
  font-size: 14px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 15px;
}

.member-details ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.member-details li {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  padding-left: 20px;
  position: relative;
}

.member-details li::before {
  content: "•";
  color: #ff6700;
  position: absolute;
  left: 0;
}

/* 联系方式样式 */
.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
}

.contact-item i {
  font-size: 24px;
  color: #ff6700;
  margin-right: 15px;
  margin-top: 5px;
}

.info h3 {
  font-size: 18px;
  color: #333;
  margin-bottom: 10px;
}

.info p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* 响应式设计 */
@media screen and (max-width: 992px) {
  .mission-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-info {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .intro-content {
    flex-direction: column;
  }

  .intro-icon {
    flex: none;
    width: 100%;
  }

  .mission-cards {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-info {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 576px) {
  .section {
    padding: 20px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .page-header h1 {
    font-size: 28px;
  }

  .subtitle {
    font-size: 16px;
  }
}
</style>
